package app.database.impl;

import app.database.Tracks;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Name: ITracks
 * @Description:
 * @Author: colfish
 * @Date: 2021/5/22 15:11
 * 好好学习，天天向上！
 */
public interface ITracks {

    List<Tracks> selectAll();

    List<Tracks> selectByName(@Param("agentName") String agentName, @Param("round") Integer round);

    void saveTrack(Tracks track);

    Integer getRoundNum();

    Integer getMaxStep(@Param("agentName") String agentName, @Param("round") Integer round);
}
